package com.atguigu.lifecycle;

import org.springframework.beans.factory.DisposableBean;

/**
 *
 * car的销毁逻辑：
 *
 * @author : zjj
 * @date : 2021/9/24 9:37
 */
public class CarDisposableBean implements DisposableBean {
    /**
     * 销毁逻辑
     * @throws Exception    异常
     */
    public void destroy() throws Exception {
        System.out.println("destroy    car   ........");
    }
}
